if GAMESTATE:IsCourseMode() == true then
	local course = GAMESTATE:GetCurrentCourse();
	local courseType = course:GetCourseType();
		if courseType == "CourseType_Nonstop" then	
			return LoadActor("_course lifebar") .. {
			};
		elseif courseType == "CourseType_Oni" then	
			return LoadActor("_oni lifebar") .. {
			};
		elseif courseType == "CourseType_Endless" then	
			return LoadActor("_course lifebar") .. {
			};
		elseif courseType == "CourseType_Survival" then	
			return LoadActor("_survival lifebar") .. {
			};
		end
	else
	if GAMESTATE:IsExtraStage2() then
		return LoadActor("_ex2 lifebar") .. {
		};
	elseif GAMESTATE:IsExtraStage() then
		return LoadActor("_ex1 lifebar") .. {
		};
	elseif isDayTime() == 'true' then
		return LoadActor("_lifebar day") .. {
		};
	else
		return LoadActor("_lifebar night") .. {
		};
	end;
end